<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>
<link rel="Stylesheet" type="text/css" href="<?=$_BASE_DIR?>js/carousel/carousel.css" />

<script type="text/javascript" src="<?=$_BASE_DIR?>js/carousel/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/carousel/jquery.carousel-1.1.min.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/jcarousel/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?=$_BASE_DIR?>js/jcarousel/tango/skin.css" />
<script type="text/javascript" src="<?=$_BASE_DIR?>js/jquery.fancybox.pack.js?v=2.1.3"></script>
<link rel="stylesheet" type="text/css" href="<?=$_BASE_DIR?>css/jquery.fancybox.css?v=2.1.2" media="screen" />
<style type="text/css">
	.fancybox-custom .fancybox-skin {
		box-shadow: 0 0 50px #222;
	}
</style>
<script type="text/javascript">
$('.fancybox').fancybox({scrolling:'none'});
$(function() {
	$('#slider').carousel({carouselWidth:930,carouselHeight:330,directionNav:true,shadow:true});
	$('#slider2').jcarousel();
	$('#slider3').jcarousel({visible:2});
});
</script>
	<div id="slider" class="carousel"> <!-- BEGIN CONTAINER -->
		
		<div class="slides"> <!-- BEGIN CAROUSEL -->
		<?php foreach ($pic as $key => $value) {?>
			<div> <!-- SLIDE ITEM -->
				<a href="#">
					<img src="<?=$_BASE_DIR.$value['pic']?>" />
				</a>            
			</div>
		<?php }?>
							
		</div> <!-- END SLIDES -->
		   
	</div> <!-- END CAROUSEL -->

	<div class="npanel">
		<div class="newsnav">
			<div class="nn nn1"></div>
			<a href="" class="more"></a>
		</div>
		<div class="newsline"></div>
		<ul class="newstop">
			<?php foreach ($news_list_1 as $key => $value) {?>
			<li><span><?php echo Helper_Util::utfSubStr(stripslashes($value['title']),26);?></span><a href="<?php echo url('index/newsread', array('newsid'=>$value['id']));?>" target="_blank" class="more fancybox fancybox.ajax"></a></li>
			<?php }?>
		</ul>
		<div class="cls"></div>
		<div class="newsnav" style="margin-top:18px">
			<div class="nn nn2"></div>
			<a href="" class="more"></a>
		</div>
		<div class="newsline"></div>
		<ul class="newstop">
			<?php foreach ($news_list_2 as $key => $value) {?>
			<li><span><?php echo Helper_Util::utfSubStr(stripslashes($value['title']),26);?></span><a href="<?php echo url('index/newsread', array('newsid'=>$value['id']));?>" target="_blank" class="more fancybox fancybox.ajax"></a></li>
			<?php }?>
		</ul>
	</div>
	<div class="npbar"></div>
	<div class="npanel np2">
		<div class="np2c">
			<div class="newsnav nnav2">
				<div class="nn nn3"></div>
				<a href="<?=url('index/product')?>" class="more"></a>
			</div>
			<div class="newsline"></div>
			<div>
				<div class="sbar2 fr">
					<input type="text" name="keyword" value="" class="stxt" />
					<div class="sbtn"></div>
				</div>
				<span class="fr">（更多精品查询）</span>
			</div>
		</div>
		<ul id="slider2" class="jcarousel-skin-tango">
			<?php foreach ($news_list_5 as $key => $value) {?>
			<li><a href="<?php echo $value['pic'];?>" class="fancybox"><img src="<?php echo $value['pic'];?>" width="75" height="75" alt="" /></a></li>
			<?php }?>
		</ul>

		<div class="np2c">
			<div class="newsnav nnav2" style="margin-top:28px">
				<div class="nn nn5"></div>
				<a href="<?=url('index/p30')?>" class="more"></a>
			</div>
			<div class="newsline"></div>
			<div>
				<div class="sbar2 fr">
					<input type="text" name="keyword" value="" class="stxt" />
					<div class="sbtn"></div>
				</div>
				<span class="fr">（更多精品查询）</span>
			</div>
			<div><img src="<?=$_BASE_DIR?>css/index/images/banner.png" /></div>
		</div>
	</div>
	<div class="npbar"></div>
	<div class="npanel np3">
		<div class="np3c">
			<div class="newsnav nnav3">
				<div class="nn nn4"></div>
				<a href="" class="more"></a>
			</div>
			<div class="newsline"></div>
			<ul class="newstop">
				<?php foreach ($news_list_3 as $key => $value) {?>
				<li><a href="#"><?php echo Helper_Util::utfSubStr(stripslashes($value['title']),14,'');?>----------( <?php echo date('Y.m.d', $value['release_date']);?> )</a></li>
				<?php }?>
			</ul>
		</div>
		<div id="slider3c">
		<ul id="slider3" class="jcarousel-skin-tango">
			<?php foreach ($news_list_4 as $key => $value) {?>
			<li><a href="<?php echo $value['pic'];?>" class="fancybox"><img src="<?php echo $value['pic'];?>" width="75" height="75" alt="" /></a></li>
			<?php }?>
		</ul>
		</div>
	</div>

<?$this->_endblock();?>
